package com.example.designPattern.prototype;

/**
 * 原型模式，扩展性极强
 */
public class Client {

    public static void main(String[] args) {
        Sheep sheep = new Sheep("tom", 12, "白色");
        Sheep sheep1 = (Sheep) sheep.clone();
        System.out.println(sheep1);
    }
}
